package x.trident.core.micro.tran.message;

import x.trident.core.micro.tran.message.core.msg.rocket.OrderSource;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * feign示例服务提供者
 *
 * @author Seven
 * @date 2021/5/12 19:42
 */
@SpringBootApplication(scanBasePackages = "x.trident")
@EnableFeignClients(basePackages = "x.trident.core.micro.tran.message.modular.consumer")
@EnableDiscoveryClient
@EnableScheduling
@EnableBinding({OrderSource.class})
public class TranMessageApplication {

    public static void main(String[] args) {
        SpringApplication.run(TranMessageApplication.class, args);
    }

}

